package com.bebal.cashloan.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by chenhui on 2018/6/29.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "demo")
public class DemoEntity {
    @Id
    private Integer id;

    @Column(name = "demo_name")
    private String demoName;

    /*创建时间*/
    @Column(name = "create_time")
    private Date createTime;

    /*创建时间*/
    @Column(name = "update_time")
    private Date updateTime;

}
